<?php

class ODBC extends SGBD {
    
    private $driver;
    private $pathToDatabase;
    
    public function getDNS() {
        $dns = "odbc:Driver=" . $this->getDriver();
        $dns .= ";Dbq=" . $this->getPathToDatabase();
        $dns .= "Uid=" . $this->getPrepare()->getUser();
        return $dns;
    }
    
    public function getDriver(){
        return $this->driver;
    }
    public function setDriver($driver){
        $this->driver = $driver;
    }
    
    public function getPathToDatabase(){
        return $this->pathToDatabase;
    }
    
    public function setPathToDatabase($path){
        $this->pathToDatabase = $path;
    }
    
}

?>
